package pdf解析;

import mybatisPlugin.MybatisApplication;
import mybatisPlugin.dao.TeamDao;
import mybatisPlugin.entity.Team;
import mybatisPlugin.manager.UserManager;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.test.context.junit4.SpringRunner;
import pdf解析.service.AopService;
import 事务练习.TransactionApplication;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author caihe
 * @date 2022/3/15 19:18
 */
@RunWith(SpringRunner.class)
@SpringBootTest(classes = {MybatisApplication.class})
@ComponentScan("pdf解析")
@Configuration
public class PdfApplication {
    
    @Resource
    private UserManager userManager;

    @Resource
    private TeamDao teamDao;
    

    @Test
    public void aopTest() {
//        aopService.printTest();

        List<Team> allTeams = teamDao.getAllTeams();
        System.out.println();

    }
    
}
